<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../../pccommon.jsp"%>
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>积分兑换现金</title>
<link type="text/css" rel="stylesheet" href="${staticPath}/pccss/grzx.css" />
</head>
<body>
	<input type="hidden" value="${key }" id="key"/>
 	<input type="hidden" value="${points }" id="mypoints"/>
	<div id="wrapper">
		<c:import url="../layout/header2.jsp"></c:import>
		<div id="main">
			<div id="mainw">
				<c:import url="../layout/leftNav.jsp">
					<c:param name="leftNav" value="performance" />
				</c:import>
				<div class="mainw_right">
					<div class="mainw_right1">
						<img src="${staticPath}/pcimages/a1.png" />
						<h1>积分兑换现金</h1>
					</div>
						<div class="mainw_right4">
						<label>兑换方式：</label>
						<select id="listId" style="width:300px;">
							<option value="0" >请选择：</option>
							<c:forEach items="${list}" var="list">
								<option value="${list.id}" less="${list.points}" per="${list.percent}">${list.points}积分以上每100积分可兑换<fmt:formatNumber value="${list.percent/100}" pattern="#,###.##" />元</option>
							</c:forEach>
						</select>
					</div>
					<div class="mainw_right4">
						<label style="margin-left:25px;">可用积分：${points}</label>
					</div>
					<div class="mainw_right4">
						<label>兑换积分：</label>
						<input id="thispoints" type="text" onfocus="focusplace(this,'请输入兑换积分')" onblur="blurplace(this,'请输入兑换积分')" value="请输入兑换积分" />
					</div>
					<div class="mainw_right4">
						<label>支付密码：</label>
						<input id="payPass" type="password" onfocus="focusplace(this,'请输入支付密码')" onblur="blurplace(this,'请输入支付密码')" value="请输入支付密码" />
					</div>
					<div class="mainw_right5">
						<input type="button" class="btn22" value="确定" onclick="submit()"/>
					</div>
				</div>
				<!--mainw_right end-->
			</div>
		</div>
		<div style="clear: both;"></div>
		<!--main end-->
		<c:import url="../layout/footer.jsp"></c:import>
	</div>
	<!--wrapper end-->
</body>

<script type="text/javascript" src="${staticPath}/js/app/money/pcexchange.js"></script>
</html>

